<div class="path"><i class="iconfont">&#xf108;</i>  <a href="{url('default/welcome')}">开始</a> / <a href="###">管理员</a></div>
<div class="m10">
<div class="table-head fn-clear">
	<div class="fn-l"><a href="{url('group/index')}" class="button"> <i class="iconfont">&#xf0ca;</i> 列表</a><strong>权限组列表</strong></div>
	<div class="fn-r"><a href="{url('group/edit')}" class="button button-blue"> <i class="iconfont" title="添加用户">&#xf055;</i> 添加权限组</a></div>
</div>
<table class="table">
<thead >
	<tr><th class="w20 fn-tac">#</th><th>权限组名称</th><th class="w150 fn-tac">最后登录时间</th><th class="w60 fn-tac">管理操作</th></tr>
</thead>
<tbody>
{foreach $rel as $rs}
<tr>
	<td class="w20 fn-tac">{$rs[id]}</td>
	<td>{if $rs[id]<>1}<a href="{url('group/edit',array('fid'=>$rs[id]))}" title="编辑用户">{$rs[name]}</a>{else}{$rs[name]}{/if}</td>
	<td class="w150 fn-tac">{date('Y-m-d H:i:s',$rs['update'])}</td>
	<td class="w80 fn-tac">
{if $rs[id]<>1}	<a href="{url('group/edit',array('fid'=>$rs[id]))}" title="编辑用户">编辑</a> / <a class="del" href="###" url="{url('group/index',array('fid'=>$rs[id],'act'=>'del'))}">删除</a>{else}禁止{/if}
	</td>
</tr>
{/foreach}
</tbody>
</table>
<div id="page" class="fn-clear">{$pager}</div>
</div>
<script type="text/javascript">
Do('base','dialog',function(){
	$('.del').click(function(){$(this).del();});
})
</script>
